package com.avcdata.national.module;

import com.alibaba.fastjson.JSON;

import java.util.List;

/**
 * Created by Administrator on 2016/11/11.
 */

public class TopBrands extends JSON {

    /**
     * success : true
     * message : OK!
     * returnValue : [{"stat_year":"2016","volume":3542410,"amount":9.66619695924E9,"category":"彩电","brand":"乐视"},{"stat_year":"2016","volume":3229033,"amount":9.93849553291E9,"category":"彩电","brand":"海信"},{"stat_year":"2016","volume":2913545,"amount":8.46797173756E9,"category":"彩电","brand":"创维"},{"stat_year":"2016","volume":2356869,"amount":6.63463379926E9,"category":"彩电","brand":"TCL"},{"stat_year":"2016","volume":2193053,"amount":5.14234163164E9,"category":"彩电","brand":"康佳"},{"stat_year":"2016","volume":2134819,"amount":5.63372676443E9,"category":"彩电","brand":"长虹"},{"stat_year":"2016","volume":1113076,"amount":2.0536626893E9,"category":"彩电","brand":"海尔"},{"stat_year":"2016","volume":792574,"amount":5.21663969801E9,"category":"彩电","brand":"三星"},{"stat_year":"2016","volume":667484,"amount":3.73795754432E9,"category":"彩电","brand":"夏普"},{"stat_year":"2016","volume":663609,"amount":1.44666192269E9,"category":"彩电","brand":"飞利浦"},{"stat_year":"2016","volume":560952,"amount":1.11337496513E9,"category":"彩电","brand":"酷开"},{"stat_year":"2016","volume":520614,"amount":3.17933527432E9,"category":"彩电","brand":"索尼"},{"stat_year":"2016","volume":464755,"amount":5.2766696348E8,"category":"彩电","brand":"先锋"},{"stat_year":"2016","volume":371511,"amount":1.24587916063E9,"category":"彩电","brand":"小米"},{"stat_year":"2016","volume":357013,"amount":4.9619433193E8,"category":"彩电","brand":"三洋"}]
     * times : 2016-11-11 17:15:43
     * secretKey : null
     */

    private List<ReturnValueBean> returnValue;

    public List<ReturnValueBean> getReturnValue() {
        return returnValue;
    }

    public void setReturnValue(List<ReturnValueBean> returnValue) {
        this.returnValue = returnValue;
    }

    public static class ReturnValueBean {
        /**
         * stat_year : 2016
         * volume : 3542410
         * amount : 9.66619695924E9
         * category : 彩电
         * brand : 乐视
         */

        private String stat_year;
        private int volume;
        private double amount;
        private String category;
        private String brand;
        private boolean isSelected = false;

        public boolean getIsSelected() {
            return isSelected;
        }

        public void setIsSelected(boolean isSelected) {
            this.isSelected = isSelected;
        }

        public String getStat_year() {
            return stat_year;
        }

        public void setStat_year(String stat_year) {
            this.stat_year = stat_year;
        }

        public int getVolume() {
            return volume;
        }

        public void setVolume(int volume) {
            this.volume = volume;
        }

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public String getBrand() {
            return brand;
        }

        public void setBrand(String brand) {
            this.brand = brand;
        }
    }
}
